package com.bsoft.gol.hcs.specialist.dao;

import ctd.persistence.annotation.DAOMethod;
import ctd.persistence.annotation.DAOParam;
import ctd.persistence.support.hibernate.HibernateSupportDelegateDAO;
import com.bsoft.gol.hcs.specialist.entity.ExamReportImage;

/**
 * @description:检查报告字表_图像信息表
 * @author: zhengcb10708
 * @create: 2021-11-02 11:17
 **/
public abstract  class ExamReportImageDAO extends HibernateSupportDelegateDAO<ExamReportImage> {
    public ExamReportImageDAO() {
        this.setKeyField("examReportImageId");
    }

    @DAOMethod(sql = " from ExamReportImage where examReportId =:examReportId and imageNo =:imageNo ")
    public abstract ExamReportImage getExamReportImageByReportId(@DAOParam("examReportId") String examReportId, @DAOParam("imageNo") String imageNo);

}
